#include<iostream>
using namespace std;

void main(void)
{
	int soc, i;

	cout << "please input your test score";
	cin >> soc;
	if (soc > 100 || soc < 0)
		cout << "error";
	else
	{
		i = soc / 10;
		switch (i)
		{
			case 10:
			case 9:
				cout << "great";
				break;
			case 8:
				cout << "good";
				break;
			case 7:
				cout << "ok";
				break;
			case 6:
				cout << "soso";
				break;
			default:
				cout << "a little rubbish";
				

		}
	}
}